func runtime.nanotime
76 uses
runtime (current package)
cpuprof.go#L88: cpuprof.log.write(nil, nanotime(), hdr[:], nil)
cpuprof.go#L122: cpuprof.log.write(tagPtr, nanotime(), hdr[:], stk)
debuglog.go#L77: tick, nano := uint64(cputicks()), uint64(nanotime())
lock_futex.go#L83: deadline := nanotime() + ns
lock_futex.go#L97: now := nanotime()
mcleanup.go#L765: start := nanotime()
mcleanup.go#L766: for nanotime()-start < timeout {
mfinal.go#L325: start := nanotime()
mfinal.go#L326: for nanotime()-start < timeout {
mgc.go#L313: now := nanotime()
mgc.go#L831: now := nanotime()
mgc.go#L926: work.cpuStats.accumulateGCPauseTime(nanotime()-stw.finishedStopping, work.maxprocs)
mgc.go#L1061: now := nanotime()
mgc.go#L1112: work.cpuStats.accumulateGCPauseTime(nanotime()-stw.finishedStopping, work.maxprocs)
mgc.go#L1365: startTime := nanotime()
mgc.go#L1431: now := nanotime()
mgc.go#L1854: startTime := nanotime()
mgc.go#L1903: now := nanotime()
mgcmark.go#L734: startTime := nanotime()
mgcmark.go#L767: now := nanotime()
mgcpacer.go#L768: now = nanotime()
mgcpacer.go#L865: now = nanotime()
mgcscavenge.go#L394: start := nanotime()
mgcscavenge.go#L396: end := nanotime()
mgcscavenge.go#L499: start := nanotime()
mgcscavenge.go#L507: slept = nanotime() - start
mheap.go#L1365: start := nanotime()
mheap.go#L1376: now = nanotime()
mprof.go#L656: return nanotime()
mprof.go#L663: prof.waitTime.Add((nanotime() - start) * gTrackingPeriod)
netpoll.go#L381: d += nanotime()
preempt.go#L230: now := nanotime()
preempt.go#L246: nextYield = nanotime() + yieldDelay
preempt.go#L248: if nanotime() < nextYield {
preempt.go#L252: nextYield = nanotime() + yieldDelay/2
proc.go#L197: runtimeInitTime = nanotime()
proc.go#L393: gcStart(gcTrigger{kind: gcTriggerTime, now: nanotime()})
proc.go#L933: sched.lastpoll.Store(nanotime())
proc.go#L1317: nextYield = nanotime() + yieldDelay
proc.go#L1319: if nanotime() < nextYield {
proc.go#L1325: nextYield = nanotime() + yieldDelay/2
proc.go#L1357: now := nanotime()
proc.go#L1370: now := nanotime()
proc.go#L1381: now := nanotime()
proc.go#L1386: now := nanotime()
proc.go#L1670: start := nanotime() // exclude time waiting for sched.lock from start and total time metrics.
proc.go#L1689: now := nanotime()
proc.go#L1696: pp.gcStopTime = nanotime()
proc.go#L1714: finish := nanotime()
proc.go#L1818: now = nanotime()
proc.go#L3175: pp.gcStopTime = nanotime()
proc.go#L3328: pp.gcStopTime = nanotime()
proc.go#L3758: now = nanotime()
proc.go#L3771: now = nanotime()
proc.go#L4809: pp.gcStopTime = nanotime()
proc.go#L6096: now := nanotime()
proc.go#L6574: now := nanotime()
proc.go#L6612: now = nanotime()
proc.go#L6855: s.pp.gcStopTime = nanotime()
proc.go#L6951: now := nanotime()
proc.go#L7431: now = nanotime()
proc.go#L7460: now = nanotime()
proc.go#L8140: start = nanotime()
proc.go#L8158: end := nanotime()
rand.go#L96: v := uint64(nanotime())
runtime.go#L33: t.startTime = nanotime()
runtime.go#L94: nowTime := nanotime()
sema.go#L734: return nanotime()
time.go#L44: return nanotime()
time.go#L354: now = nanotime()
time.go#L993: now = nanotime()
time.go#L1416: now := nanotime()
time_nofake.go#L32: func nanotime() int64 {
trace.go#L1158: s.timer.reset(nanotime()+ns, 0)
traceback.go#L1298: waitfor = (nanotime() - gp.waitsince) / 60e9
tracetime.go#L62: return traceTime(nanotime() / traceTimeDiv)